<%--
  Created by IntelliJ IDEA.
  User: 13411
  Date: 2020/5/4
  Time: 23:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>小黑blog登录</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/login.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/bootstrap.min.css">
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/js/jquery-3.4.1.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/js/bootstrap.min.js"></script>
</head>
<body background="${pageContext.request.contextPath}/static/image/background.jpg">
    <div class="login">
        <form action="${pageContext.request.contextPath}/login" method="post">
            <div class="form-group">
                <label >Username</label>
                <input type="text" name="username" class="form-control" placeholder="Username">
            </div>
            <div class="form-group">
                <label>Password</label>
                <input type="password" name="password" class="form-control" placeholder="Password">
            </div>
            <button type="submit" class="btn btn-default">帅气的点一点</button>
            <p style="color: red">${requestScope.msg}</p>
        </form>
    </div>




</body>
</html>
